package com.manage.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "tb_user_details")
public class UserDetails {
    //声明主键和自增长
    @Id
    @KeySql(useGeneratedKeys = true)
    private Long id;
    private String email;
    //现居地
    private String currentResidence;
    private String mobilePhone;
    private String workplace;
    private String department;
    private String position;
    private String positionType;
    private int status;
}
